<?php

namespace app\api\controller\company;
use app\common\service\Result;
use app\shop\model\company\Station as StationModel;
/**
 * 岗位管理
 */
class Station
{
    /**
     * 岗位列表
     */
    public function list()
    {
        $department_id = input('department_id');
        $list = StationModel::where('department_id', $department_id)->field('id,title')->select();
        return Result::success($list);
    }
}